<?php
function __autoload($className) 
{
    $classPath = explode('_', $className) ;
    $file = 'app' ;
    foreach ($classPath as $key => $value)
    {
        $file .= '/' . $value ;
    }
    $file = strtolower($file) ;
    $file .= '.php' ;   
       /** if (file_exists($file) == true) {
                return false;
        }**/
        require_once ($file);
}
?>